package com.tyx.chargingpile.service;

import com.tyx.chargingpile.dao.SockctMessageDao;
import com.tyx.chargingpile.pojo.SocketMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
@Transactional
public class SocketMessageService {

    @Autowired
    SockctMessageDao sockctMessageDao;

    public void add(SocketMessage socketMessage){
        sockctMessageDao.save(socketMessage);
    }
}
